<?php
/**
 * Created by PhpStorm.
 * User: LYQ
 * Date: 2019/8/17
 * Time: 16:44
 */

namespace app\admin\controller;
use app\index\model\BaseModel;
use think\Controller;

class ActionArticle extends Controller
{
public function add()
{
    $value = I('title|content|tag1|tag2|tag3|time|reviewer');
    $id = Db::name('article')->insertGetId($value);
}
    public function del(){
        $value = I('articleId');
        Db::name('article')->where('id','in',$value)->delete();

    }

}